<%--
  Created by IntelliJ IDEA.
  User: xiangyinjie
  Date: 2021/5/17
  Time: 17:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    //获取项目的根路径
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<link rel="shortcut icon" href="#"/>
<html>
<head>
    <title>Title</title>
</head>
<meta charset="utf-8">
<title>Title</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="<%=basePath%>layui-v2.6.5/layui/css/layui.css"  media="all">
<link rel="stylesheet" type="text/css" href="<%=basePath%>swee/sweetalert.css">
<script type="text/javascript" src="<%=basePath%>swee/sweetalert-dev.js"></script>
<style type="text/css">
    .shouhang{
        width: 100%;
        height: 48px;
        padding-top: 0px;
    }

    .anniu{
        margin-left:600px;
    }
    ul li{
        display: inline;
    }
    .anniu li{

    }

</style>
<body>
<!-首栏->

<div class="shouhang">
    <ul class="anniu">
        <a href="register.jsp" target="contentt"><li> <button type="button" style=" border: 1px #ffffff solid; background-color: #009f95" class="layui-btn layui-btn-normal layui-btn-radius" >注册信息</button></li></a>
        <a href="<%=basePath%>PageFrontdeskCardServlet" target="contentt"><li> <button type="button" style=" border: 1px #ffffff solid; background-color: #009f95" class="layui-btn layui-btn-normal layui-btn-radius" >用户</button></li></a>
        <a href="<%=basePath%>QueuePageServlet" target="contentt"><li> <button type="button" style=" border: 1px #ffffff solid; background-color: #009f95" class="layui-btn layui-btn-normal layui-btn-radius" >转诊</button></li></a>
        <a href="<%=basePath%>bill" target="contentt"><li> <button type="button" style=" border: 1px #ffffff solid; background-color: #009f95" class="layui-btn layui-btn-normal layui-btn-radius" name="Payment">药单缴费</button></li></a>
        <a href="<%=basePath%>UserServlet" target="contentt"><li> <button type="button" style=" border: 1px #ffffff solid; background-color: #009f95" class="layui-btn layui-btn-normal layui-btn-radius" name="Payment">检查缴费</button></li></a>


        <a href="<%=basePath%>ConsumeServlet" target="contentt"><li> <button type="button" style=" border: 1px #ffffff solid; background-color: #009f95" class="layui-btn layui-btn-normal layui-btn-radius" >缴费状况</button></li></a>

    </ul>
</div>
<div class="layui-body2" >
    <iframe src="register.jsp" width="100%" height="600px"
            style="border: none" name="contentt"
    ></iframe>

<%--<iframe src="register.jsp" frameborder="0" width="100%" height="600px" id="home_ifram">--%>

<%--</iframe>--%>
</div>
</body>
<script src="<%=basePath%>layui-v2.6.5/layui/layui.js" charset="utf-8"></script>
<script src="<%=basePath%>jquery/jquery-1.12.4.js"></script>
<script type="text/javascript">
    <%--$(function (){--%>
    <%--    $("button[name='Paymentstate']").click(function (){--%>

    <%--        $("#home_ifram",window.parent.document).attr('src','<%=basePath%>ConsumeServlet');--%>
    <%--    })--%>
    <%--    $("button[name='replace']").click(function (){--%>

    <%--        $("#home_ifram", window.parent.document).attr('src','<%=basePath%>PageFrontdeskCardServlet');--%>
    <%--    })--%>
    <%--    $("button[name='treatment']").click(function (){--%>

    <%--        $("#home_ifram", window.parent.document).attr('src','<%=basePath%>QueuePageServlet');--%>
    <%--    })--%>
    <%--    $("button[name='signin']").click(function (){--%>

    <%--        $("#home_ifram",window.parent.document).attr('src','<%=basePath%>frontdesk/register.jsp');--%>
    <%--    })--%>
    <%--})--%>

</script>
</html>
